using System;

namespace OR.Lazarus.Business
{
   public delegate void GenerateEventHandler( object sender, GenerateEventArgs e );

   /// <summary>
   /// Summary description for GenerateEvent.
   /// </summary>
   public class GenerateEventArgs : EventArgs
   {
      private string m_szXslName;
      private string m_szFilename;
      private long m_iFileSize;

      public string XslName
      {
         get
         {
            return ( m_szXslName );
         }
         set
         {
            m_szXslName = value;
         }
      }

      public string Filename
      {
         get
         {
            return ( m_szFilename );
         }
         set
         {
            m_szFilename = value;
         }
      }

      public long FileSize
      {
         get
         {
            return ( m_iFileSize );
         }
         set
         {
            m_iFileSize = value;
         }
      }

      public GenerateEventArgs()
      {

      }

      public GenerateEventArgs( string p_szXslName, string p_szFilename, long p_iFileSize )
         : this()
      {
         m_szXslName = p_szXslName;
         m_szFilename = p_szFilename;
         m_iFileSize = p_iFileSize;
      }
   }
}
